//
//  SaveTools.h
//  Tools
//
//  Created by 蒋杏飞 on 15/8/11.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SaveTools : NSObject

+ (NSString *)pathWithName:(NSString *)name directory:(NSSearchPathDirectory)directory;

// 存字符串
+ (BOOL)saveWithName:(NSString *)name directory:(NSSearchPathDirectory)directory value:(NSString *)value;
// 取字符串

+ (NSString *)readWithName:(NSString *)name directory:(NSSearchPathDirectory)directory;

+ (BOOL)saveDataWith:(NSString *)name directory:(NSSearchPathDirectory)directory data:(NSData *)data;


+ (NSData *)readDataWithName:(NSString *)name directory:(NSSearchPathDirectory)directory;

@end
